package com.ysucode.service.oj;

import com.github.pagehelper.PageInfo;
import com.ysucode.domain.Problem;

public interface ProblemService {

    PageInfo<Problem> getAll(int pageNum, int pageSize);

    Problem getJavaById(int id);

    Integer addJava(Problem problem);

}
